<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<script type="text/javascript">
<!--
	function checkForm(){
		return document.getElementById("title").value == "" ? false : true;
	}
//-->
</script>
<form action="writeBlog.htm" id="f" method="post" onsubmit="">

	标题：<input type="text" name="title" />
	<br />
    <script type="text/plain" id="editor" name="myContent">
    </script>
    <input name="_submit" value="提交" type="submit">
</form>
<script type="text/javascript">
    var editor = new UE.ui.Editor();
    editor.render("editor");
    //1.2.4以后可以使用一下代码实例化编辑器
    //UE.getEditor('myEditor')
</script> 